package com.shiwaixiangcun.customer.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.shiwaixiangcun.customer.R;
import com.shiwaixiangcun.customer.entity.MyPropertyEntity;

import java.util.List;

/**
 * Author   Administrator
 * Date     2018/4/9
 * Desc     我的房产
 * @author Administrator
 */
public class AdapterProperty extends BaseQuickAdapter<MyPropertyEntity, BaseViewHolder> {
    public AdapterProperty(@Nullable List<MyPropertyEntity> data) {
        super(R.layout.item_property, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, MyPropertyEntity item) {
        helper.setText(R.id.tv_property_name, item.getHouseNumDesc());

    }
}
